package ycl.common.models.req.maps.req;

import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 关键词搜索
 *
 * @author YCL
 * @date 2021-09-27 17:53:00
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("关键词搜索请求")
public class SuggestionReq extends BaseGpsQueryReq {

	@Schema(description = "地点")
	@NotBlank(message = "请输入搜索地点")
	private String keyword;

	@Schema(description = "区域范围")
	private String region;



}
